<?php

return [
    [
        'label' => '日志审查',
        'url' => ['#'],
        'icon' => 'fa fa-eye',
        'items' => [
            [
                'label' => '路由审查',
                'url' => ['/audit/entry/index'],
                'auth' =>[
                    'route:audit/entry/db-explain',
                    'route:audit/entry/index',
                    'route:audit/entry/view',
                ]
            ],
            [
                'label' => '模型审查',
                'url' => ['/audit/trail/index'],
                'auth' =>[
                    'route:audit/trail/index',
                    'route:audit/trail/view',
                ]
            ],
            [
                'label' => '发信审查',
                'url' => ['/audit/mail/index'],
                'auth' =>[
                    'route:audit/mail/index',
                    'route:audit/mail/view',
                    'route:audit/mail/download',
                ]
            ],
            [
                'label' => 'JS审查',
                'url' => ['/audit/javascript/index'],
                'auth' =>[
                    'route:audit/javascript/index',
                    'route:audit/javascript/view',
                ]
            ],
            [
                'label' => '错误审查',
                'url' => ['/audit/error/index'],
                'auth' =>[
                    'route:audit/error/index',
                    'route:audit/error/view',
                ]
            ],
            [
                'label' => '信息统计',
                'url' => ['/audit'],
                'auth' =>[
                    'route:audit/default/index',
                ]
            ],
        ]
    ],
];
